package service;

import java.util.List;

import dto.Pro_In_Cart;
import entity.Cart;

public interface Cart_service {
	public boolean add_ToCart(Cart cart) throws Exception;
	public boolean remove_FromCart(Integer productId,Integer userId) throws Exception;
	public boolean update_InCart(Cart cart) throws Exception;
	public Cart getcartByid( Integer userId, Integer productId);
	public Pro_In_Cart get_ProInCart(Integer productId,Integer userId);
	public List<Pro_In_Cart> ProInCart_list(Integer userId);

}
